package com.daisy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @version: V1.0
 * @author: daisy
 * @className: DispatcherController
 * @packageName: com.daisy.controller
 * @description: 地址跳转等控制器
 * @data: 2020-06-11 20:30
 **/
@Controller
public class DispatcherController {

    @GetMapping("main")
    public String main() {
        return "main";
    }

    @GetMapping("home")
    public String home() {
        return "home";
    }

}
